package consts

type ContextKey string

const (
	BindContextKeyName             = "userToken"          // token解析值绑定上下文键名
	ConfigFilePath                 = "/config/config.yml" // 配置文件路径
	ServerOccurredErrorCode int    = -500100              // 服务器代码发生错误
	ServerOccurredErrorMsg  string = "服务器内部发生错误,请联系管理员！"
	DbTypeMySql                    = "mysql" // 数据库类型
	DbTypeSqlServer                = "sqlserver"
	DbTypePostgreSql               = "postgresql"
	RequestAborted                 = "request_aborted"
	UploadTypeLocal                = "local" // 上传类型
	UploadTypeQiniu                = "qiniu"
	UploadFileTypeImage            = "image" // 上传文件类型
	UploadFileTypeVideo            = "video"
	UploadFileTypeAudio            = "audio"
	UploadFileTypeDocument         = "document"
	UploadFileTypeOther            = "other"
)
